<template>
	<div class="m-3">
		<basicTable :canResize="true" :schemas="searchFormSchema" :columns="columns" :pagination="false" :request="searchList" />
	</div>
</template>
<script lang="ts" setup>
	import { columns, searchFormSchema } from './dept.data';
	import { getDeptList } from '@/api/system';
	let listParams = reactive({});
	const searchList = async (params?) => {
		listParams = params || listParams;
		return { data: await getDeptList() };
	};
</script>
